"""
!/usr/bin/env python
-*- coding: utf-8 -*-
@Author  : MarkJia
@Site    : 
@File    : 本地调式.py
"""

import unittest

class Search:
    def search_fun(self):
        print('search')
        return True

class TestDemo(unittest.TestCase):
    def test_demo1(self):
        # 实例话Search类，调用Search的search_fun方法
        se = Search()
        # 断言调用search_fun方法的值是否为True
        assert True == se.search_fun()

# 本地调式用  代码形式运行程序
if __name__ == '__main__':
    unittest.main()
